
const { stock } = require('tushare');

exports = module.exports = {
    getList(req, cb) {
        stock.getTodayAll().then(({ data }) => {
            let arr = [];
            data.forEach(val => {
                arr.push(val.code);
            });
            cb(arr);
        });
    }
}